/**
 * Copyright (C) 2013-2014 EaseMob Technologies. All rights reserved.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *     http://www.apache.org/licenses/LICENSE-2.0
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package com.zhongketech.sunflower;

public class Constant {
	public static final String NEW_FRIENDS_USERNAME = "item_new_friends";
	public static final String GROUP_USERNAME = "item_groups";

	public static final String LOG_ADDR = null;
	public static final String ROOT_ADDR = "/data/data/com.zhongketech.sunflower/";

	//数据库记录
	public static final String USER_DB_NAME = "userDb";
	public static final String SV_DB_NAME = "supervisonsDb";
	public static final String PREFS_NAME = "userInfo";
	public static final String PREFS_PHONE = "phone";
	public static final String PREFS_ID = "id";
	public static final String PREFS_PW = "password";
	public static final String PREFS_VID = "visibleId";
	public static final String PREFS_STK = "sessionToken"; 
	public static final String PREFS_SN_NAME_FA = "specialNumberNameFa"; 
	public static final String PREFS_SN_PHONE_FA = "specialNumberPhoneFa"; 
	public static final String PREFS_SN_NAME_EM = "specialNumberNameEm"; 
	public static final String PREFS_SN_PHONE_EM = "specialNumberPhoneEm";
	public static final String PREFS_SN_NAME_BLACK = "specialNumberNameBlack"; 
	public static final String PREFS_SN_PHONE_BLACK = "specialNumberPhoneBlack"; 

	public static final String PREFS_ROLE = "role";
	public static final String PREFS_GENDER = "gender";
	public static final String PREFS_USER_NAME = "name";
	public static final String PREFS_BIRTHDAY = "birthday";
	public static final String PREFS_AV_URL = "avatar_url";

	public static final String PREFS_COOKIE_PHPSESSID = "PHPSESSID";
	public static final String PREFS_COOKIE_ID = "id";

	public static final String APP_PREFS_NAME = "stopAppList";
	public static final String APP_PREFS_ENABLE = "enable";
	public static final String APP_ENABLE_ALL = "all_enable";
	public static final String APP_DISABLE_ENABLE = "all_disable";
	public static final String APP_LIST = "list";
	public static final int APP_STOP_INTERVAL = 5000; //ms
	
	//眼睛保护检测时间
	public static final int SCREEN_CHECK_INTERVAL = 10; //s
	//停止玩耍多长时间可以继续玩
	public static final long REST_PLAY_TIME = 1 * 60; //s

	public static final String EYE_DISABLE = "未启用";


	public static final String IM_SERVER = "182.92.193.118";
	public static final int IM_PORT = 3579;

	/**
	 * 好友请求类型
	 */
	public static final String RQ_PARENT = "parent";
	public static final String RQ_CLASS = "class";
	public static final String RQ_CONTACTS = "contacts";

	public static final String REQUESTS_STATE_ACCEPT = "accept";
	public static final String REQUESTS_STATE_REJECT = "reject";
	public static final String REQUESTS_STATE_WAIT = "wait";

	public static final int FCS_ADAPTER_TYPE_BIND = 0;
	public static final int FCS_ADAPTER_TYPE_PARENT = 1;
	public static final int FCS_ADAPTER_TYPE_UNKNOWN = -1;
	public static final int FCS_ADAPTER_IMAGE_GONE = -1; 
	public static final int FCS_ADAPTER_IMAGE_USEDRAW = 0xffffffff; 

	//特殊好吗
	public static final String SN_WHITLE = "white_list";
	public static final String SN_BLACK = "black_list";
	public static final String SN_FAMILY = "family";
	public static final String SN_EMERGENCY = "emergency";

	public static final String IMGAGE_SERVER = "http://182.92.193.118/sunflower/v1/";

}
